package com.yc.tank;

public class T {

	public static void main(String[] args) {
		TankFrame f = new TankFrame();
		//加载背景音乐
		new Thread(() -> {
			Audio a = new Audio("audio/war1.wav");
			a.loop();
		}).start();
		//刷屏
		while(true){
			try {
				Thread.sleep(50);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			f.repaint();
		}

	}

}
